[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LEAVE             High Level Proc Exit (186/286/386) Flags: O D I T S Z A P C

LEAVE

           Logic:        reverses the action of ENTER

     This instruction performs the opposite of a previous ENTER. It restores
     SP and BP to the values they had before ENTER, and before the procedure
     stack frame was initialized.

     LEAVE reverses every action of ENTER. It is usually executed before a RET
     to release the returning procedure's stack frame.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   LEAVE                      5 (286)      -        1    LEAVE
  --------------------------------------------------------------------------

See Also: ENTER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson